package org.csu.mybigpro.service;

import org.csu.mybigpro.domain.Training;

import java.util.List;
import java.util.Map;

public interface TrainingService {
    // 新增实训记录（可选）
    boolean addTraining(Training training);
    boolean updateTraining(Training training);
    boolean deleteTrainingById(Long id);
    List<Training> getTrainingsByName(String name);
    List<Training> getTrainingsByCourse(String course);
    List<Training> getTrainingsByType(String type);
    List<Training> getTrainingsByStatus(String status);
    List<Training> getTrainingsByManager(String manager);
    List<Training> getAllTrainings();
}
